package com.one.group.service;

import com.mybatisflex.core.service.IService;
import com.one.group.model.dto.CameraAddDto;
import com.one.group.model.dto.CameraQueryDto;
import com.one.group.model.dto.CameraUpdateDto;
import com.one.group.model.entity.Camera;
import com.one.group.model.vo.CameraVo;

import java.util.List;

/**
 * {@code @Create:}  2025-09-28  14 : 33
 * {@code @Author:} Cherry
 * {@code @ToUser:} 凡是发生,皆有利于我。
 * ------------------------------------
 * {@code @note:}
 */

@SuppressWarnings({"all"})
public interface CameraService extends IService<Camera> {
    List<CameraVo> findCameraByQueryDto(CameraQueryDto cameraQueryDto);

    boolean addCameraByAddDto(CameraAddDto cameraAddDto);

    boolean updateCameraByUpdateDto(CameraUpdateDto cameraUpdateDto);

    boolean deleteCameraByIds(Long id);

    boolean deleteCameraWithMantenanceByIds(List<Long> ids);
}
